<template>
  <div class="main-container">
    <div class="header">
       分数权重
      <el-button style="background: #5E69C2;border: 1px solid rgba(77,87,170,1);border-radius: 18px;" type="primary" round>+ 新建</el-button>
    </div>
    <div class="content">
      <div
          v-for="(item, index) in courseList"
          :key="index"
          class="course-item"


      >
        <div style="display: flex;align-items: center;">

          <span style="margin-left: 8px"> {{ item.name }}</span>
        </div>

        <div class="button">
          <el-button size="mini" plain>查看</el-button>
          <el-button size="mini" plain>编辑</el-button>
          <el-button size="mini" plain>复制</el-button>
        </div>
      </div>
    </div>

  </div>
</template>
<script>
export default {
  name: "Score-weight",
  data(){
    return {
      courseList:[
        {
          id:'001',
          name:'预置分数权重',
        },
        {
          id:'002',
          name:'自定义分数权重1',
        },
        {
          id:'003',
          name:'自定义分数权重2',
        },
        {
          id:'004',
          name:'自定义分数权重3',
        },
        {
          id:'005',
          name:'自定义分数权重4',
        }
      ]
    }
  }
}
</script>

<style scoped lang="scss">
.main-container{
  height: 100%;
  width: 100%;
  .header{
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 0 26px;
  }
  .content{
    padding: 0 20px 0 20px;
    .course-item{
      margin-bottom: 2px;
      background: #FFFFFF;
      box-shadow: inset 0px -1px 0px 0px rgba(0,0,0,0.08);
      display:flex;
      align-items: center;
      justify-content: space-between;
      height: 50px;
      font-family: PingFangSC-Regular;
      font-size: 16px;
      color: #333333;
      letter-spacing: 0.64px;
      font-weight: 400;
      .button{
        padding-right: 16px;
      }
    }

  }
}

</style>